The operator DmaFromPC provides a source for image data from the PC, e.g. when the frame grabber is used as a co-processor, or well defined test images should be fed into the processing pipeline.
All data received by a DMA from the PC memory are output at the output link O. The format of the output link can be selected from 6 gray scale and color formats accessible via the parameter LinkFormat.
Because the data stream send from the PC memory does not support image dimensions, the size of the frame has to be defined using the parameters MaxNumPixel and MaxNumLines. Mind that the number of bytes transferred via DMA must match the image dimension calculated from these two parameters.
Although the parameters MaxNumPixel and MaxNumLine allow to define extremely large images there are some restrictions to observe. First of all the image size is not allowed to extend 2 Gbyte. The second restriction is that the parameter MaxNumPixel must be set in multiples of the output link parallelism.
This operator requires one VisualApplets resource of type DMA. Set the resource index for the camera in the resource dialog. Check 'Allocation of Device Resources' for more information.
| Available for Hardware Platforms |
|---|
| microEnable IV VD-CL/-PoCL |
| MaxNumPixel | |
|---|---|
| Type | dynamic read/write parameter |
| Default | 1024 |
| Range | [1, 65536] |
|
This parameter defines the width of the transferred image in pixels. The value has to be less than the link property Max. Image Width. |
|
| MaxNumLines | |
|---|---|
| Type | dynamic read/write parameter |
| Default | 1024 |
| Range | [1, 65536] |
|
This parameter defines the height of the transferred image in lines. The value has to be less than the link property Max. Image Height. |
|
| LinkFormat | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | static parameter | ||||||||||||
| Default | GRAY8x4 | ||||||||||||
| Range | {GRAY8x4, GRAY16x2, GRAY32x1, RGB8x1, RGB8x2, RGB16x1} | ||||||||||||
|
This parameter specifies the data format of the output link O. Available formats are:
|
|||||||||||||
The use of operator DmaFromPC is shown in the following examples:
-
Examples - The coprocessor feature of the microEnable IV VD1-CL is shown. As an example, a median filter is calculated.
-
'Co-Processor Large Filter Calculation'
Examples - The coprocessor feature of the microEnable IV VD1-CL is shown. As an example, a large filter kernel is calculated.




Prev

